package com.kucowka.otc.util.heap;

import com.kucowka.otc.util.heap.exceptions.EmptyHeapExcetion;

public interface MaxHeap<T extends Comparable<T>> {

	public boolean add(T t);
	
	public boolean isEmpty();

	public int size();

	public T peek() throws EmptyHeapExcetion;

	public T pop() throws EmptyHeapExcetion;
}
